<template>
  <view class="page-bill-index">
      <van-tabs sticky :active="active" @change="changeTab" color="#3678FD">
        <van-tab :title="pageParams.title">
          <bill-handle ref="billHandle" />
        </van-tab>
        <van-tab title="订单详情">
          <bill-detail ref="billDetail" />
        </van-tab>
      </van-tabs>
  </view>
</template>
<script>
import billHandle from './billHandle';
import billDetail from './billDetail';
export default {
  components:{
    billHandle,
    billDetail,
  },
  data(){
    return {
      pageParams:{
        title: '装车'
      },
      active: 0,

    }
  },
  onLoad(e){
    // this.pageParams = e;
  },
  onShow(){

  },
  methods:{
    changeTab(e){
      // this.active = e.detail.index;
    }
  }
}

</script>